﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MasoQna.Models
{
    public interface IUserRepository : IDisposable
    {
        IQueryable<User> Users { get; }

        int GetUserId(int serviceType, string providedUserId);
        int GetUserReputation(int userId);
        //UserSummary GetUserSummary(int userId);

        int AddUser(User user);
        bool AddReputation(int userId, int point);

        bool AddUserMapping(int serviceType, string providedUserId, int userId);
    }
}
